
@if(empty(app('appUuid')))
  <script src="//ares.ishangzu.com/ares.js?ba1b74ff65256dbc,empty"></script>
@else
  <script src="//ares.ishangzu.com/ares.js?ba1b74ff65256dbc,{{app('appUuid')}}"></script>
@endif
<script>
  (function () {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?2d1fb77e9aeb419bd6ce2ed0ad9592af";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
  })();
</script>
<script>
  (function () {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?95b48bca16692265c14e9a74c0d0f810";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
  })();
</script>
<script>
  (function(){
      var bp = document.createElement('script');
      var curProtocol = window.location.protocol.split(':')[0];
      if (curProtocol === 'https'){
          bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
      }else{
          bp.src = 'http://push.zhanzhang.baidu.com/push.js';
      }
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(bp, s);
  })();
</script>
<script src="https://qiyukf.com/script/{{config('qiyu.app_key')}}.js" charset="UTF-8"></script>
@php $qiyuCustomerService = Common\Standard\Object\stdQiyuCustomerService::instance($city->toArray()); @endphp
@php $qiyuConfig = $qiyuCustomerService->getPCSiteConfig($list_url ?? null, $house ?? null); @endphp
<script>
  ysf.config({
      uid: "{{$qiyuConfig['_id']}}",
      staffid: "{{$qiyuConfig['_staff_id']}}",
      groupid: "{{$qiyuConfig['_group_id']}}",
      data: JSON.stringify([
          {"key": "real_name", "value": "{{$qiyuCustomerService->getPCRealName()}}"},
          {"type": "crm_param", "key": "source", "value": "PC", "area": "user"},
          {"type": "crm_param", "key": "city_code", "value": "{{$qiyuConfig['_city_code']}}", "area": "user"},
          {"type": "crm_param", "key": "district_code", "value": "{{$qiyuConfig['_district_code']}}", "area": "user"},
          {"type": "crm_param", "key": "circle_code", "value": "{{$qiyuConfig['_circle_code']}}", "area": "user"}
      ])
  });
</script>